/**
 * This is reset style
 **/
* {
	margin: 0;
	padding: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
	box-sizing: border-box;
  outline: 0;
}

html {
	height: 100%;
}

body {
	height: 100%;
  font: 14px/1.2 DinPro, dinpro, PingFangSC-Regular, sans-serif;
	color: #666666;
	background: #ffffff;
  overscroll-behavior-y: contain;
}

img {
	border: 0px;
}

ul, ol {
  padding-left: 2em;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, textarea, select, button {
	font-family: 'Microsoft Yahei', Arial;
	font-size: inherit;
	line-height: 2;
	color: #666666;
	outline: 0;
}

input[type='checkbox'],
input[type='radio'] {
	vertical-align: -2px;
}

textarea {
	resize: none;
	overflow: auto;
}

h1, h2, h3, h4, h5, h6, font {
	font-size: inherit;
}

a {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.clearfix {
  &:after {
    content: '';
    display: block;
    clear: both;
    line-height: 0;
    font-size: 0;
  }
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color:#e0e0e0;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color:#e0e0e0;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color:#e0e0e0;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #e0e0e0;
}

::-webkit-scrollbar {
	width: 1px;
	height: 1px;
}

::-webkit-scrollbar-track-piece {
	background-color: none;
	background: rgba(0,0,0,.0);
}

::-webkit-scrollbar-thumb:vertical {
	height: 2px;
	background-color: rgba(0,0,0,.1);
}

::-webkit-scrollbar-thumb:horizontal {
	width: 2px;
	background-color: rgba(0,0,0,.1);
}


/**
 * This is custom fonts
 **/
@font-face {
  font-family: 'LcdD';
  src: url('https://wx.2024csnl.com/fonts/LcdD.woff2') format('woff2')
}

@font-face {
  font-family: 'Akrobat';
  src: url(https://wx.2024csnl.com/fonts/Akrobat-Bold.ttf)
}

@font-face {
  font-family: 'DinProMedium';
  src: url(https://wx.2024csnl.com/fonts/DINPro.woff2) format('woff2');
}


.lottery-rows {
  position: relative;
  padding: 0 3vw 5vw;
  .lottery-rows__box {
    position: relative;
    background: -webkit-linear-gradient(top, #ffffff, #ffe6c8);
    border: 5px solid #f39800;
    border-radius: 20px;
    padding: 0 20px 20px;
  }
  .lottery-rows__head {
    position: relative;
    height: 40px;
    line-height: 40px;
    margin: 0 15% 20px;
    text-align: center;
    background: url('https://wx.2024csnl.com/static/lottery/lottery-7.png') center center no-repeat;
    background-size: 100% 100%;
    text {
      font-size: 15px;
      font-weight: normal;
      color: #ffffff;
    }
  }
  .lottery-rows__tab {
    position: relative;
    margin: 0 10% 20px;
    display: flex;
    .item {
      flex: 1;
      background: url('https://wx.2024csnl.com/static/lottery/lottery-10a.png') center center no-repeat;
      background-size: 100% 100%;
      text-align: center;
      &.is-active {
        background-image: url('https://wx.2024csnl.com/static/lottery/lottery-10b.png');
        &:first-child {
          background-image: url('https://wx.2024csnl.com/static/lottery/lottery-8b.png');
        }
        &:last-child {
          background-image: url('https://wx.2024csnl.com/static/lottery/lottery-9b.png');
        }
        span {
          color: #ffffff;
        }
      }
      &:first-child {
        background-image: url('https://wx.2024csnl.com/static/lottery/lottery-8a.png');
        padding-left: 10px;
      }
      &:last-child {
        background-image: url('https://wx.2024csnl.com/static/lottery/lottery-9a.png');
        padding-right: 10px;
      }
      span {
        display: block;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
        color: #ad3515;
      }
    }
  }
}

code {
	display: block;
	padding: 10px;
	background: #000;
	color: #999;
	line-height: 1.6;
	word-break: break-all;
	text-align: justify;
	font-family: Arial, Helvetica, sans-serif;
}

.uni-popup {
  z-index: 500 !important;
}

.weui-code {
	padding: 10rpx;
	background: #000000;
	color: #ddd;
	font-size: 20rpx;
	word-wrap: break-word;
}


.weui-phone {
	display: flex;
	align-items: center;
	border-radius: 15rpx;
	background: #ffffff;
	border: 1px solid #ffffff;
	margin-bottom: 56rpx;
	&:focus-within {
		border-color: #000000;
	}
	.code {
		padding: 0 20rpx 0 30rpx;
		width: 120rpx;
		font-size: 34rpx;
		border-right: 1px solid #dddddd;
		display: flex;
		align-items: center;
		image {
			display: block;
			width: 30rpx;
			height: 30rpx;
			margin-left: 10rpx;
		}
	}
	.phone {
		flex: 1;
		.input {
			background: transparent;
			margin-bottom: 0;
			font-size: 30rpx;
		}
	}
}

.weui-codebox {
	position: relative;
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 15rpx;
	margin-bottom: 56rpx;
	&:focus-within {
		border-color: #000000;
	}
	.input {
		background: transparent !important;
		margin-bottom: 0 !important;
		font-size: 30rpx;
	}
	.cardBtn {
		position: absolute;
		top: 0;
		right: 0;
		height: 100% !important;
		padding: 0 30rpx;
		background: transparent !important;
		color: #000000 !important;
		font-size: 30rpx;
	}
}

.weui-input {
	position: relative;
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 15rpx;
	margin-bottom: 56rpx;
	&:focus-within {
		border-color: #000000;
	}
	.input {
		background: transparent !important;
		margin-bottom: 0 !important;
		font-size: 30rpx;
	}
}

.weui-password {
	position: relative;
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 15rpx;
	margin-bottom: 56rpx;
	&:focus-within {
		border-color: #000000;
	}
	.input {
		background: transparent !important;
		margin-bottom: 0 !important;
		font-size: 30rpx !important;
	}
	.eyeIcon {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		padding: 22rpx 40rpx;
		opacity: 0;
	}
}

.weui-page__back {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	z-index: 0;
	image {
		display: block;
		width: 100vw;
	}
}